package com.lw.sbdemo2.entity;

import com.lw.sbdemo2.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

/**
 * <p>标题: 用户信息表实体</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2019</p>
 * <p>公司: 山人行工作室</p>
 *
 * @version: 1.0
 * @author: LinWang
 * @date 2019-4-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Alias("TkUserInfo")
@Builder
@ApiModel(description = "用户信息表实体")
public class TkUserInfo extends BaseEntity {

	@ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
	@ApiModelProperty(value = "用户昵称")
    private java.lang.String userName;
	@ApiModelProperty(value = "小程序ID")
    private java.lang.String openId;
	@ApiModelProperty(value = "最后登录时间")
    private java.util.Date lastLoginTime;
	@ApiModelProperty(value = "绑定老师ID")
    private java.lang.String teacherId;
	@ApiModelProperty(value = "电话")
    private java.lang.String phoneNumber;
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
	@ApiModelProperty(value = "修改时间")
    private java.util.Date modifiedTime;
	@ApiModelProperty(value = "有效标志（冻结/恢复）")
    private java.lang.String validFlag;
	@ApiModelProperty(value = "错题配置")
    private java.lang.String wrongQuestionCon;
	@ApiModelProperty(value = "学习时间")
    private java.util.Date learningTime;
	@ApiModelProperty(value = "答题成绩")
    private java.lang.String ranking;
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
    @ApiModelProperty(value = "头像")
    private java.lang.String headImg;
    @ApiModelProperty(value = "昵称")
    private java.lang.String nickName;
    @ApiModelProperty(value = "拼音")
    private java.lang.String spellCode;

    @ApiModelProperty(value = "自定义名称")
    private String customName;

    @ApiModelProperty(value = "年级编码")
    private java.lang.String gradeId;
    @ApiModelProperty(value = "班级编码")
    private java.lang.String classId;
    @ApiModelProperty(value = "年级编码")
    private java.lang.String gradeCode;
    @ApiModelProperty(value = "班级编码")
    private java.lang.String classCode;
    @ApiModelProperty(value = "教师名称")
	private String teacherName;
    @ApiModelProperty(value = "教师代码1")
    private String teacherId1;
    @ApiModelProperty(value = "教师名称")
    private String teacherImg;
    @ApiModelProperty(value = "年段名称")
    private java.lang.String gradeName;
    @ApiModelProperty(value = "班级名称")
    private java.lang.String className;
    @ApiModelProperty(value = "学校名称")
    private java.lang.String schoolName;

    private String query;
}
